#ifndef OPEWIDGET_H
#define OPEWIDGET_H

#include <QWidget>
#include <QListWidget>
#include <QStackedWidget>
#include "friend.h"
#include "book.h"

class OpeWidget : public QWidget
{
public:
    explicit OpeWidget(QWidget *parent = nullptr);
    static OpeWidget& getinstance();
    Friend* getFriend();
signals:
private:
    QListWidget* m_pflist;
    Friend* m_pFriend;
    Book* m_pBook;
    //堆栈窗口，多个窗口只显示一个
    QStackedWidget* m_pSW;


};

#endif // OPEWIDGET_H
